from consts import *
TRANSPORT_CONTROLS = {'STOP': GENERIC_STOP,
 'PLAY': GENERIC_PLAY,
 'REC': GENERIC_REC,
 'LOOP': GENERIC_LOOP,
 'RWD': GENERIC_RWD,
 'FFWD': GENERIC_FFWD,
 'NORELEASE': 0}
DEVICE_CONTROLS = ((GENERIC_ENC1, 0),
 (GENERIC_ENC2, 0),
 (GENERIC_ENC3, 0),
 (GENERIC_ENC4, 0),
 (GENERIC_ENC5, 0),
 (GENERIC_ENC6, 0),
 (GENERIC_ENC7, 0),
 (GENERIC_ENC8, 0))
VOLUME_CONTROLS = ((GENERIC_SLI1, 0),
 (GENERIC_SLI2, 0),
 (GENERIC_SLI3, 0),
 (GENERIC_SLI4, 0),
 (GENERIC_SLI5, 0),
 (GENERIC_SLI6, 0),
 (GENERIC_SLI7, 0),
 (GENERIC_SLI8, 0))
TRACKARM_CONTROLS = (GENERIC_BUT1,
 GENERIC_BUT2,
 GENERIC_BUT3,
 GENERIC_BUT4,
 GENERIC_BUT5,
 GENERIC_BUT6,
 GENERIC_BUT7,
 GENERIC_BUT8)
BANK_CONTROLS = {'TOGGLELOCK': GENERIC_BUT9,
 'BANKDIAL': -1,
 'NEXTBANK': GENERIC_PAD5,
 'PREVBANK': GENERIC_PAD1,
 'BANK1': -1,
 'BANK2': -1,
 'BANK3': -1,
 'BANK4': -1,
 'BANK5': -1,
 'BANK6': -1,
 'BANK7': -1,
 'BANK8': -1}
PAD_TRANSLATION = ((0, 0, 67, 1),
 (1, 0, 69, 1),
 (2, 0, 71, 1),
 (3, 0, 72, 1),
 (0, 1, 60, 1),
 (1, 1, 62, 1),
 (2, 1, 64, 1),
 (3, 1, 65, 1),
 (0, 2, 67, 0),
 (1, 2, 69, 0),
 (2, 2, 71, 0),
 (3, 2, 72, 0),
 (0, 3, 60, 0),
 (1, 3, 62, 0),
 (2, 3, 64, 0),
 (3, 3, 65, 0))
CONTROLLER_DESCRIPTION = {'INPUTPORT': 'FastTrack Pro',
 'OUTPUTPORT': 'FastTrack Pro',
 'CHANNEL': 0,
 'PAD_TRANSLATION': PAD_TRANSLATION}
MIXER_OPTIONS = {'NUMSENDS': 2,
 'SEND1': (-1, -1, -1, -1, -1, -1, -1, -1),
 'SEND2': (-1, -1, -1, -1, -1, -1, -1, -1),
 'MASTERVOLUME': -1}